<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Thymeleaf模版</title>
</head>
<body>
<table border="1" width="600">
    <tr>
        <th colspan="5" align="center">景区列表</th>
    </tr>
    <tr>
        <td>Id</td>
        <td>名称</td>
        <td>地址</td>
        <td>简介</td>
        <td>操作</td>
    </tr>
    <tr th:each="scenic:${scenics}">
        <td th:text="${scenic.id}"></td>
        <td th:text="${scenic.name}"></td>
        <td th:text="${scenic.address}"></td>
        <td th:text="${scenic.brief}"></td>
        <td><a th:href="'/delete/' + ${scenic.id }">delete</a></td>
    </tr>
</table>
</body>
</html>